package com.mzj.saas.mservice.contract.entity;

import com.mzj.saas.commons.IdEntity;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 合同文件日志
 */
@Entity
@Table(name = "saas_house_contract_file_record")
public class HouseContractFileRecord extends IdEntity {
	@Basic
	@Column(name = "contract_nubmer", nullable = true)
	private String contractNubmer; // 合同编号

	@Basic
	@Column(name = "contract_id", nullable = true)
	private String contractId; // 合同签章ID(契约锁)

	@Basic
	@Column(name = "document_id", nullable = true)
	private String documentId; // 合同文档ID(契约锁)

	@Basic
	@Column(name = "contract_doc_url", nullable = true)
	private String contractDocUrl; // 电子签章合同文件

	@Basic
	@Column(name = "create_time", nullable = true)
	private Date createTime; // 生成时间

	public String getContractNubmer() {
		return contractNubmer;
	}

	public void setContractNubmer(String contractNubmer) {
		this.contractNubmer = contractNubmer;
	}

	public String getContractId() {
		return contractId;
	}

	public void setContractId(String contractId) {
		this.contractId = contractId;
	}

	public String getDocumentId() {
		return documentId;
	}

	public void setDocumentId(String documentId) {
		this.documentId = documentId;
	}

	public String getContractDocUrl() {
		return contractDocUrl;
	}

	public void setContractDocUrl(String contractDocUrl) {
		this.contractDocUrl = contractDocUrl;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}
